package com.mk.Entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.awt.print.PageFormat;
import java.awt.print.Pageable;
import java.awt.print.Printable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author mk
 */

@Data
@ToString
@NoArgsConstructor
public class Blog {

    private Long id;
    private String title;
    private String content;
    private String firstPicture;
    private String flag;
    private Integer views;
    //赞赏功能
    private boolean appreciation;
    //转载声明
    private boolean shareStatement;
    //评论开启
    private boolean commentabled;
    private boolean published;
    //推荐
    private boolean recommend;
    private Date createDate;
    private Date updateDate;



    //对象属性
    private Type type;
    private Long typeid;

    private List<Tag> tags;
    private String tagids;
    private User user;
    private List<Comment> comments;

}
